//
//  STBWCollectionViewCell.h
//  Pods-stoneobs_browser_Example
//
//  Created by imac on 2019/6/26.
//

#import <UIKit/UIKit.h>
#import "STBWBrowserKit.h"
NS_ASSUME_NONNULL_BEGIN
@class STBWCollectionViewCell;
@protocol STBWBrowserCollectionViewCellDelegate <NSObject>
//点击了imageView
- (void)didClicTheImageView:(UIImageView*)imageView
                       cell:(STBWCollectionViewCell*)cell;
//zoom
- (void)didZoomScale:(CGFloat)scale
                cell:(STBWCollectionViewCell*)cell
           imageView:(UIImageView*)imageView;
@end

@interface STBWCollectionViewCell : UICollectionViewCell
@property(nonatomic, strong) UIImageView                                  *imageView;
@property(nonatomic, strong) UIImageView                                  *backgroundImageView;//高斯模糊
@property(nonatomic, strong) STBWPhotoModel                               *model;

@property(nonatomic, weak)   id<STBWBrowserCollectionViewCellDelegate>     delegate;

@property(nonatomic, strong) UITapGestureRecognizer                       *tapGes;

@property(nonatomic, strong) UIScrollView                                 *scrollView;


- (void)backToOrigin;//回到初始缩放和旋转
@end

NS_ASSUME_NONNULL_END
